﻿@using FwProject.Product.Dto
@model ProductTypeInput
@{
    ViewBag.Title = "修改类型";
    Layout = null;
}

<h2>@ViewBag.Title</h2>
<form id="form0" action="@Url.Action("ModifyProductType",new {id=Context.Request.Query["id"]})" method="post" novalidate="novalidate" data-ajax="true" data-ajax-begin="LockAjaxCallbackBack" data-ajax-success="ReloadAjaxCallbackgoback" data-ajax-failure="FailureAjaxCallback" data-ajax-method="Post" role="form" lay-filter="form1">
    @Html.AntiForgeryToken()
    <div class="deploy-form layui-form new-label">
        <div class="layui-form-group">
            @Html.LabelFor(o => o.TypeName, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                @Html.TextBoxFor(o => o.TypeName, new { @class = "layui-input", @style = "width:70%;height: 38px;line-height: 38px;" })
                @Html.ValidationMessageFor(o => o.TypeName)
            </div>
        </div>
        <div class="layui-form-group">
            @Html.LabelFor(o => o.Isflagattr, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                <boolRadio asp-id="Isflagattr" asp-name="Isflagattr" asp-value="@Model.Isflagattr" ></boolRadio>
                @*<input type="radio" name="Isflagattr" value="false" title="否">
                <input type="radio" name="Isflagattr" value="true" title="是" checked>*@
            </div>
        </div>
        <div class="layui-form-group">
            @Html.LabelFor(o => o.Ispro, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                <boolRadio asp-id="Ispro" asp-name="Ispro" asp-value="@Model.Ispro"></boolRadio>
                @*<input type="radio" name="Ispro" value="false" title="否">
        <input type="radio" name="Ispro" value="true" title="是" checked>*@
            </div>
        </div>

        <div class="layui-form-group">
            @Html.LabelFor(o => o.Isbrand, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                <boolRadio asp-id="Isbrand" asp-name="Isbrand" asp-value="@Model.Isbrand"></boolRadio>
                @*<input type="radio" name="Isbrand" value="false" title="否">
                <input type="radio" name="Isbrand" value="true" title="是" checked>*@
            </div>
        </div>

        <div class="layui-form-group">
            @Html.LabelFor(o => o.IsSpec, new { @class = "layui-form-label" })
            <div class="layui-input-block">
                <boolRadio asp-id="IsSpec" asp-name="IsSpec" asp-value="@Model.IsSpec"></boolRadio>
                @*<input type="radio" name="IsSpec" value="false" title="否">
                <input type="radio" name="IsSpec" value="true" title="是" checked>*@
            </div>
        </div>
        <div class="layui-plus">
            <button type="submit" name="" class="layui-btn layui-btn-sm layui-btn-normal">确认保存</button>
        </div>
    </div>
</form>